package com.yoomiito.app;

import android.os.Environment;

public class Constant {

    /**
     * 是否是测试模式
     */
    public static boolean isDebug = true;
    public static final String DEVICE_ID = "device_id";
    /**
     * 业务状态码成功标识
     */

    public static final String BIZCODE_OK = "OK";
    public static final String KEY = "key";
    public static final String ProductId = "product_id";
    public static final String SubjectProgress = "subject_progress";
    /**
     * 请求数据缓存
     */
    public static final String HTTP_CACHE = Environment.getExternalStorageDirectory().getAbsolutePath() + "/httpCache";

    //是否第一次启动
    public static final String IS_FIRST = "isFirst";

    //是否登陆
    public static final String IS_LOGIN = "isLogin";

    //微信
    public static final String WECHAT_APP_ID = "wxa6fc8a6ab0afa2d5";

    public static final String WECHAT_APP_SECRET = "4af7bf32c9ae19442d41cdb577b15918";

    public static final String WECHAT_OPEN_ID = "open_id";

    public static final String WECHAT_UNID_ID = "unid_id";

    public static final String TOKEN = "token";
    public static final String ID = "id";
    public static final String TAB = "tab";
    public static final String ToFM="toFm";
    public static final String MSG = "msg";
    /**
     * 公司id
     */
    public static final String CompanyId = "company_id";

    /**
     * 用户级别
     */
    public static final String RoleId = "role_id";
    /**
     *
     */
    public static final String RelationId = "relation_id";
    public static final String IsAgent = "is_agent";//是否是区代
    public static final String Agent = "agent";
    public static final String UserInfo = "user_info";


    public static final String Address = "address";
    public static final String AddressInfo = "address-info";
    public static final String Config = "config";
    //手机号登陆---验证验证码
    public static final int Phone_Login = 1;

    //微信登陆----验证验证码
    public static final int WX_Login = 2;
    public static final String URL = "url";
    //Type
    public static final String TYPE = "type";
    public static final String PAY_TYPE = "pay_type";
    public static final String TYPE_ID = "type_id";
    public static final String HISTORY = "history";
    public static final String INVITE_CODE = "code";
    public static final String TAOBAO_ID = "taobao_id";
    public static final String VIP_ID = "vip_id";
    public static final String SHARE_ID = "share_id";
    public static final String DATA = "data";
    public static final String PAY_RESULT = "pay_result";
    //友盟
//    public static final String UM_APP_KEY = "5c987175203657cf0f000455";  //友盟
    public static final String UM_APP_KEY = "65f17766f9d9272593720c4a";
    public static final String UM_MSG_Secret = "2f1ff3d7b11360534e2b9cbde60c1705";
    public static final String UM_PUSH_MESSAGE = "push_message";
    public static final int SEX_MAN = 1;
    public static final int SEX_WMEN = 2;

    public final static String KEY_TYPE = "key_type";

    public final static String Progress = "PROGRESS";
    public final static String KEY_MONTH = "key_month";
    public final static String KEY_MONTH_DATA = "key_month_data";
//    public final static String KEY_MONTH_TITLE = "key_month_title";
//    public final static String KEY_MONTH_TITLE = "key_month_title";
//    public final static String KEY_MONTH_AMOUNT_DETAIL = "key_month_amount_detail";

    public static final int PAGE_SIZE = 20;//分页每页条数
    public static final int VIP_TYPE_GIFT = 1;
    public static final int VIP_TYPE_EXPLOSIVE= 2;
    public static final int VIP_TYPE_YOUPIN = 3;
    public static final int VIP_TYPE_SUBJECT = 4;

    //在我的邀请、订单等的type
    public static final int NAMAL_TYPE_TAOBAO = 1;//淘宝
    public static final int NAMAL_TYPE_GIFT = 2;//礼包
    public static final int NAMAL_TYPE_EXPLOSIVE= 3;//爆品
    public static final int NAMAL_TYPE_GOOD= 4;//优品
    public static final int NAMAL_TYPE_SUBJECT= 5;//课程
    public static final int NAMAL_TYPE_GIVEMORE= 6;//送多多
    public static final int NAMAL_TYPE_FREEGIFT= 7;//送多多赠品
    public static final int NAMAL_TYPE_JINGDONG = 8;//京东
    public static final int NAMAL_TYPE_CREDITCARD = 9;//信用卡

    //送多多收益
    public static final int NAMAL_TYPE_INCOME_GIVEMORE = 1;
    public static final int NAMAL_TYPE_INCOME_FREE_GIFT = 2;

    //用户类型 VIP 或 普通会员
    public static final int USER_TYPE_VIP = 2;
    public static final int USER_TYPE_NORMAL= 1;
    public static final int USER_TYPE_SDD_VIP = 3;

    //订单状态
    public static final int ORDER_STATUS_WAIT_PAY = 0;
    public static final int ORDER_STATUS_PAYED= 1;
    public static final int ORDER_STATUS_CANCEL_PAY = 2;

    //后台给的Community type
    public static final int COMMUNITY_TYPE_GOODS_REMMOND = 0;
    public static final int COMMUNITY_TYPE_INVITE_MATERIAL = 1;//0.商品推荐， 1.邀请素材 2.每日心语 3.商学院
    public static final int COMMUNITY_TYPE_TRADE_COLLEAGE = 3;


    public static final int MY_ORDER_TYPE_TAOBAO = 1;
    public static final int MY_ORDER_STATUS_BUYED = 0;

    //发圈时从订单界面获取订单信息对应的key
    public static final String KEY_PRODUCT_ID = "key_product_id";
    public static final String KEY_ORDER_ID = "key_order_id";
    public static final String  KEY_ORDER_TYPE = "key_order_type";
    public static final String  KEY_TITLE = "key_title";
    public static final int CODE_GET_ORDER_INFO_REQUEST_ID = 100;
    public static final int CODE_GET_ORDER_INFO_RESULT_ID = 200;

    //发圈类型
    public final static int PUBLISH_TYPE_GOODS = 1;
    public final static int PUBLISH_TYPE_LIFE = 2;

    public final static int GRID_IMAGE_NUM = 3;

    public static final int USER_CENTER_VIP = 1;
    public static final int USER_CENTER_OTHER = 0;

    public static final String KEY_ORDER_MONEY = "key_order_moeny";

    public static final String SEARCH_KEY = "search_key";//记录智能搜索内容标记


    public static String appInterface = "test";

}